namespace EyeSoft.Wpf.Facilities.Input
{
	public static class CommandsDiscoverFactory
	{
		private static readonly Singleton<CommandsDiscover> singletonInstance = new Singleton<CommandsDiscover>(new CommandsDiscover());

		public static void Set(CommandsDiscover instance)
		{
			singletonInstance.Set(instance);
		}

		public static CommandsDiscover Create()
		{
			return singletonInstance.Instance;
		}
	}
}